package com.ruoyi.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品列对象 mes_order_product
 * 
 * @author guoxl
 * @date 2025-04-03
 */
public class MesOrderProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品标识 */
    private Long productId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 制造商 */
    @Excel(name = "制造商")
    private String manufacturer;

    /** 订单标识 */
    @Excel(name = "订单标识")
    private Long orderId;

    /** 登记号 */
    @Excel(name = "登记号")
    private String taskId;

    /** 样品编号 */
    @Excel(name = "样品编号")
    private String sampleId;

    /** 出厂编号 */
    @Excel(name = "出厂编号")
    private String serialNum;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String managementNum;

    /** 外部产品型号 */
    @Excel(name = "外部产品型号")
    private String outModel;


    /** 产品型号标识 */
    @Excel(name = "产品型号标识")
    private Long modelId;

    /** 产品型号 */
    @Excel(name = "产品型号")
    private String model;
    /** 产品条码编号 */
    @Excel(name = "产品条码编号")
    private String partNumber;

    /** 产品备注 */
    @Excel(name = "产品备注")
    private String comments;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer deleted;

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setTaskId(String taskId) 
    {
        this.taskId = taskId;
    }

    public String getTaskId() 
    {
        return taskId;
    }
    public void setSampleId(String sampleId) 
    {
        this.sampleId = sampleId;
    }

    public String getSampleId() 
    {
        return sampleId;
    }
    public void setSerialNum(String serialNum) 
    {
        this.serialNum = serialNum;
    }

    public String getSerialNum() 
    {
        return serialNum;
    }
    public void setManagementNum(String managementNum) 
    {
        this.managementNum = managementNum;
    }

    public String getManagementNum() 
    {
        return managementNum;
    }
    public void setOutModel(String outModel) 
    {
        this.outModel = outModel;
    }

    public String getOutModel() 
    {
        return outModel;
    }

    public Long getModelId() {
        return modelId;
    }

    public void setModelId(Long modelId) {
        this.modelId = modelId;
    }

    public void setModel(String model)
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }

    public String getPartNumber() {
        return partNumber;
    }

    public void setPartNumber(String partNumber) {
        this.partNumber = partNumber;
    }

    public void setComments(String comments)
    {
        this.comments = comments;
    }

    public String getComments() 
    {
        return comments;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("manufacturer", getManufacturer())
            .append("orderId", getOrderId())
            .append("taskId", getTaskId())
            .append("sampleId", getSampleId())
            .append("serialNum", getSerialNum())
            .append("managementNum", getManagementNum())
            .append("outModel", getOutModel())
            .append("modelId", getModelId())
            .append("model", getModel())
            .append("comments", getComments())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("deleted", getDeleted())
            .toString();
    }
}
